class SearchSongItem {
  final List artists;
  final String name;
  final int mv;
  final String alblum;
  final int id;
  final String picUrl;

  const SearchSongItem({
    required this.name,
    required this.artists,
    required this.mv,
    required this.alblum,
    required this.id,
    required this.picUrl,
  });
}

// List<SearchSongItem> parseSearchSongListItem(Map<String, dynamic> json) {
//   final List<dynamic> mv = json['result'] ?? [];
//   return mv.map((item) {
//     return SearchSongItem(
//       artists: item['ar'] ?? [],
//       name: item['name'] ?? '',
//       mv: item['mv'] ?? 0,
//       alblum: item['alblum'] ?? '',
//       id: item['id'] ?? 0,
//       picUrl: item['al']['picUrl'] ?? '',
//     );
//   }).toList();
// }
